package com.loong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.loong.entity.Clazz;
import com.loong.vo.ClazzVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface ClazzMapper extends BaseMapper<Clazz> {
    List<ClazzVO> list(@Param("name") String name, @Param("begin") LocalDate begin, @Param("end") LocalDate end);
    List<Map<String, Object>> countStudentData();
}
